:root {
  /* Color */
  --surface: #e1e1e1;
  --button-highlight: #ffffff;
  --button-face: #dfdfdf;
  --button-shadow: #808080;
  --window-frame: #0a0a0a;
    /* Window borders flip button-face and button-highlight */
  --border-window-outer: inset -1px -1px var(--window-frame),
    inset 1px 1px var(--button-face);
  --border-window-inner: inset -2px -2px var(--button-shadow),
    inset 2px 2px var(--button-highlight);
}

* {box-sizing: border-box;}

.window {
  box-shadow: var(--border-window-outer), var(--border-window-inner);
  background: var(--surface);
  position: absolute;
  left: 70%;
  bottom: 35%;
  width: 25%;
  min-width: 200px;
  height: 20%;
  min-height: 150px;   
  -webkit-font-smoothing: antialiased;
  z-index: 999;
  cursor: move;
  padding: 3px;
  display: flex;
  flex-direction: column;

}

.window-text{
  margin-left: 7px;
  flex-grow: 1;
  overflow: auto;
}

.title-bar {
  background: #C80000;
  background: linear-gradient(90deg, rgba(170, 0, 0, 1) 35%, rgba(200, 0, 0, 1) 100%);
  padding: 3px 2px 3px 3px;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px #590000;
  flex-shrink: 0;
}



/* bits of code taken from https://github.com/jdan/98.css and slightly adapted*/
